package com.zjcode.cdcer.mapper;

import com.chinatechstar.component.commons.supports.PageData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;

@Mapper
public interface CerGastroscopeDiagnosisCollectInfoMapper {

    List<LinkedHashMap<String, Object>> listPageData(PageData pageData);

    LinkedHashMap<String, Object> findByOrgIdAndUploadYear(PageData pageData);

    List<LinkedHashMap<String, Object>> countGastroscopeData(@Param("year") String year);

    List<LinkedHashMap<String, Object>> countGastroscopeDataT2(@Param("year") String year,
                                                               @Param("cityName") String cityName);
}
